package com.caiyouxi.restrict.mapper;

import com.caiyouxi.restrict.model.RestrictedConditions;
import org.apache.ibatis.annotations.Mapper;

/**
 * 业务限制条件
 * chensong
 */
@Mapper
public interface RestrictedConditionsMapper {
    
    int delete_restricted_conditions(int id);
    
    int add_restricted_conditions(RestrictedConditions restrictedConditions);
    
    int update_restricted_conditions(RestrictedConditions restrictedConditions);

    RestrictedConditions select_restricted_conditions(int id);

    RestrictedConditions get_restricted_by_pro(RestrictedConditions bean);
}
